<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Page Language="C#" MasterPageFile="~/_layouts/application.master" Inherits="Ventigrate.Shared.ExternalMembership.WebControls.RoleNew" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBar" src="~/_controltemplates/ToolBar.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="~/_controltemplates/ToolBarButton.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="VSEMS" Namespace="Ventigrate.Shared.ExternalMembership.WebControls" Assembly="$SharePoint.Project.AssemblyFullName$" %>

<asp:Content ID="Content1" contentplaceholderid="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral ID="PageTitle" Text="New external role" EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral ID="TitleArea" Text="New external role" EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderMain" runat="server">

    <wssuc:ToolBar id="onetidNavNodesTB" runat="server">
        <Template_Buttons>
            <wssuc:ToolBarButton 
                runat="server"
	            Text="Display Users"
	            id="idUsersDisp"
	            ToolTip="Display Users"
	            NavigateUrl="UsersDisp.aspx"
	            ImageUrl="/_layouts/images/VSEMS/usersdisp.png"
	            AccessKey="U" />
            <wssuc:ToolBarButton 
                runat="server"
	            Text="Display Roles"
	            id="idRolesDisp"
	            ToolTip="Display Roles"
	            NavigateUrl="RolesDisp.aspx"
	            ImageUrl="/_layouts/images/VSEMS/rolesdisp.png"
	            AccessKey="R"/>
        </Template_Buttons>
    </wssuc:ToolBar>

<TABLE border="0" width="100%" cellspacing="0" cellpadding="0" class="ms-descriptiontext">
<wssuc:InputFormSection runat="server" Title="Role Name">
	<Template_InputFormControls>
		<wssuc:InputFormControl runat="server" LabelText="Type the role name:">
			<Template_Control>
			<SharePoint:InputFormTextBox Title="Role Name" class="ms-input" Columns="40" maxlength="255" ID="txtRole" Direction="LeftToRight" Runat="server" />
			<SharePoint:InputFormRequiredFieldValidator ID="InputFormRequiredFieldValidatorRole" ControlToValidate="txtRole" Display="Dynamic" Runat="server"/>
			<asp:Label ID="lblMessage" runat="server" Text="" ForeColor="red"></asp:Label>
			</Template_Control>
		</wssuc:InputFormControl>
	</Template_InputFormControls>
</wssuc:InputFormSection>
	<wssuc:ButtonSection runat="server">
		<Template_Buttons>
		<asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth" OnClick="OnSubmit" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnOk" accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
		</Template_Buttons>
	</wssuc:ButtonSection>
</TABLE>
</asp:Content>
